#pragma once
#include "VC_GameState.h"
#include "C_Rect.h"
#include "C_Sprite.h"
#include "C_Widget.h"

class C_GS_MainMenu :
	public VC_GameState
{
private:
	std::vector<C_Sprite*> m_sprites;
	std::thread *m_thread;
	gui::C_Widget m_widget;
	C_Rect m_rect;
public:
	C_GS_MainMenu();
	virtual ~C_GS_MainMenu();

	virtual void handleEvent(sf::Event e);
	virtual void render();
	virtual void update();
};

void cmd_onClick_ChangeState();
void cmd_onClick_ContinueGame();
void cmd_onClick_NewGame();
void cmd_onClick_Settings();
void cmd_onClick_Exit();

